package com.test.springbootweb.Controller;

import com.test.springbootweb.Pojo.User;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Jsonparam {
    @RequestMapping ("/JsonParam")
    private String JsonParam(@RequestBody User user){
        System.out.println(user);
        return "OK";
    }
}
